// 这里的webpack配置会和公共的webpack.config.js合并
const port = 2022
module.exports = {
  lintOnSave: false,
  publicPath: `//localhost:${port}`,
  devServer: {
    port,
    headers: {
      'Access-Control-Allow-Origin': '*'
    }
  },
  configureWebpack: {
    output: {
      library: 'vue-sub',
      libraryTarget: 'umd'
    }
  }
}
